﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BGN.PlugIn.Client
{
    /// <summary>
    /// 专门负责与SInfo系统的web服务进行通信 
    /// </summary>
    public static class SInfoWebService
    {
        /// <summary>
        /// 获取webservice的url地址
        /// </summary>
        /// <returns></returns>
        public static String GetWebserviceUrl()
        {
            String sinfoUrl = CommonConfiger.Instance.GetXmlConfigNodeInnerText("IndexUrl");
            if (!sinfoUrl.EndsWith("/")) sinfoUrl += "/";
            String webServiceUrl = String.Format("{0}Projects/ChangZhou/SisenMESS.asmx", sinfoUrl);
            return webServiceUrl;
        }
    }
}
